<include file="./App/Tpl/Home/Default/Public/header.html" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="__JS__/qtip/css/jquery.qtip.min.css" rel="stylesheet" type="text/css" />
<literal>
<script>
$(document).ready(function(){


	$("#submitImage").bind("click",function(){
		$('#orderForm').ajaxSubmit(options); 
	});
	
	var options={
			 beforeSubmit:  showRequest,  
			 success:       showResponse  
	};
	function showRequest(formData, jqForm, options) {  
		
		if($("#U_NAME").val()==""){
			userTip('U_NAME',"请输入邮箱/手机号码找回密码");
			
			return false;
		}
		 return true;
	}
	
	function showResponse(rs, statusText, xhr, $form)  { 
		
		var type='2';
		var info="找回密码失败！";
		var url="?g=Home&m=Skin&a=pwd";
		
		if(rs=="y"){
			info="找回密码成功！";
			type='1';
			url="?g=Home&m=Skin&a=login";
		}
		
		window.location.href="?g=Home&m=Skin&a=message&type="+type+"&info="+encodeURI(info)+"&url="+encodeURIComponent(url);
		
	} 
	
});
function userTip(sob,ct){
	 // 阴影+圆角
     $("#"+sob).qtip({
       position: {
         my: 'bottom left',
         at: 'top center'
       },
       style: {
         classes: 'ui-tooltip-red ui-tooltip-shadow ui-tooltip-rounded'
       },
       show: {
			event: false, // Don't specify a show event...
			ready: true // ... but show the tooltip when ready
		},
       content: ct
     });
}
</script>
</literal>
<div class="main">
   	<div class="login">
    	<div class="login_main" style="height:250px;">
        	<div style="color:#454547;font-size:15px;padding-left:15px;font-weight:bold;padding-top:10px;">
        	找回密码
        	</div>
            <div class="tab_form">
            	<form action="?g=Home&m=Skin&a=pwd" method="post"  class="on" id="orderForm">
                    <fieldset>
                        <legend></legend>
                        <div class="login_sm">请使用您提交服务单时使用的邮箱或手机号找回密码</div>
                        <div style="padding-top:10px;"><input id="U_NAME" name="U_NAME"  type="text" class="login_ipt" value="{$LOCATIONUSER}"  /></p>
                        </div>
                      
                         <div style="padding-top:15px;">
                      			<input type="hidden" name="op" value="1">
    							<div style="display:none"><input type="submit" id="sumit" name="sumit" ></div>
		                    	<img src="__PUBLIC__/skin/images/aff.gif" id="submitImage" align="absmiddle" style="cursor:pointer">
                       		
                   		</div>
                      
                        
                    </fieldset>
                </form>
                <form  method="post"  id="CRForm">
                   
                </form>
            	
            </div>
        </div>
    </div>
</div>
<include file="./App/Tpl/Home/Default/shop.html" />
<include file="./App/Tpl/Home/Default/partners.html" />
<include file="./App/Tpl/Home/Default/Public/footer.html" />	